#!/usr/bin/env node

const usr = "chen",
      pwd = "123456";

const usr_pwd = '${user}:${pwd}';

console.log(usr_pwd);
const buf = Buffer.from(usr_pwd);
console.log(buf.toString('base64'));
